#ifndef CAMERA_CONTROL_DEVICE_H
#define CAMERA_CONTROL_DEVICE_H

#include "controller.h"

class CameraControlDevice
{
public:
  CameraControlDevice(Controller& c) : controller(c) {}
  void rotateCamera(int dx, int dy) { if (dx && dy) controller.rotateCamera(dx, dy); }
  void zoomCamera(int dz) { if (dz) controller.zoomCamera(dz); }
private:
  Controller& controller;
};

#endif // CAMERA_CONTROL_DEVICE_H
